﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TjZheng.Mvc;

namespace TjZheng.Example.MVC.Controllers
{
    public class FooResultFilter : TjZhengResultFilter, IExceptionFilter
    {
        public override void OnResultExecuting(System.Web.Mvc.ResultExecutingContext filterContext)
        {
            filterContext.HttpContext.Response.Write("FooResultFilter.OnResultExecuting<br/>");
        }

        public void OnException(ExceptionContext filterContext)
        {
            //filterContext.ExceptionHandled = true;
        }
    }
}